//
//  LEAlertViewController.h
//  LESports
//
//  Created by 金玉龙 on 15/12/16.
//  Copyright © 2015年 LETV. All rights reserved.
//

#import <UIKit/UIKit.h>
@class LEAlertViewController;
@protocol LEAlertViewControllerDelegate <NSObject>

- (void)alertButtonClicked:(UIButton*)button buttonIndex:(NSInteger)buttonIndex;

@end

@interface LEAlertViewController : UIViewController

@property (nonatomic, strong) UIImageView *bgImageView;
@property (nonatomic, strong) UIView *blurView;
@property (nonatomic, strong) UIView *messageBox;
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) UILabel *messageLabel;
@property (nonatomic, strong) UIView *separateLine;
@property (nonatomic, strong) UIButton *confirmButton;

@property (nonatomic, assign) NSInteger buttenIndex;
@property (nonatomic, weak) id<LEAlertViewControllerDelegate>delegate;

- (void)getBackgroundImageFromCtrl:(UIViewController*)ctrl;
@end
